//
//  SYClassDetailsView.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/7/5.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import "SYClassDetailsView.h"

@interface SYClassDetailsView ()

@property (strong, nonatomic) SYClassDetailsView *detailsView;
@property (weak, nonatomic) IBOutlet UILabel *keciLab;
@property (weak, nonatomic) IBOutlet UILabel *zhutiLab;
@property (weak, nonatomic) IBOutlet UILabel *fudaoneirongLab;
@property (weak, nonatomic) IBOutlet UILabel *kaishiriqi;
@property (weak, nonatomic) IBOutlet UILabel *jieshuriqiLab;
@property (weak, nonatomic) IBOutlet UIView *bgContView;

@end


@implementation SYClassDetailsView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (void)awakeFromNib {
    [super awakeFromNib];
    self.bgContView.layer.masksToBounds = YES;
    self.bgContView.layer.cornerRadius = 10;
}


- (IBAction)selectBtnClick:(id)sender {
    self.hidden = YES;
}

- (void)setTutorModel:(SYDataTutorModel *)tutorModel {
    self.keciLab.text = [NSString stringWithFormat:@"课次:%@",tutorModel.lessonTimes];
    self.zhutiLab.text = [NSString stringWithFormat:@"主题:%@",tutorModel.oper1];
    self.fudaoneirongLab.text = [NSString stringWithFormat:@"辅导内容:%@",tutorModel.oper2];
    self.kaishiriqi.text = [NSString stringWithFormat:@"开始日期：%@",tutorModel.beginDate];
    self.jieshuriqiLab.text = [NSString stringWithFormat:@"结束日期：%@",tutorModel.endDate];
    
}


- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    
}


@end




















